<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- meta -->
<meta name="keywords" content="">
<meta name="description" content="">
<!-- /meta -->
<title>ユーザグループ登録/編集 - 確認</title>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/headerfooter.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/ulol.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/arrow.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements.css">
<!-- admin -->
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/base_admin.css">
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/elements_admin.css">
<!-- /admin -->
<script type="text/javascript" src="<%= request.getContextPath() %>/common/js/library.js"></script>
<script type="text/javascript">

	function back(){
		confirmForm.action ='<%= request.getContextPath() %>/users/group-modoru';
		confirmForm.submit();
	}
</script>

<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie3.css">
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_over_winie5.css">
<![endif]-->
<!--[if IE 5]>
<link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/common/css/for_winie5.css">
<![endif]-->
</head>
<body id="dch">
<!-- === headerArea === -->
<div id="headerArea">
<a name="pageTop" id="pageTop"></a>
<jsp:include page="/common/include/header.jsp" />
</div><!-- === /headerArea === -->
<!-- === mainArea === -->
<div id="mainArea">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
	<tr valign="top">
		<td width="140" id="leftArea">
		<!-- === leftArea === -->
			 <jsp:include page="../user_menu.jsp"/>
			<!-- /listA01 -->
		<!-- === /leftArea === -->
		</td>
		<td width="20"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="20" height="4" border="0" alt=""></td>
		<td id="contentsArea">
		<!-- === contentsArea === -->
			<!-- headingLv01Block -->
			<div class="headingLv01Block">
				<!-- headingLv01 -->
				<s:if test='actionType=="DEL"'>
					<h1>ユーザグループ削除 - 確認</h1>
				</s:if>
				<s:else>
					<h1>ユーザグループ登録/編集 - 確認</h1>
				</s:else>
				<!-- /headingLv01 -->
			</div>
			<!-- /headingLv01Block -->
			<!-- columnB01 -->
			<div class="columnB01">
				<s:if test='actionType=="DEL"'>
					<p class="text">この内容を削除します</p>
				</s:if>
				<s:else>
					<p class="text">この内容で登録します</p>
				</s:else>

			</div>
			<!-- /columnB01 -->
			<!-- headingLv02 -->
			<div class="headingLv02">
			<table border="0" cellspacing="0" cellpadding="5" width="558">
				<tr>
					<td><p><em>ユーザグループ情報<br></em></p></td>
				</tr>
			</table>
			</div>
			<!-- /headingLv02 -->
			<form action="<%= request.getContextPath() %>/users/group-execute" method="post" id="confirmForm">
				<s:hidden name="actionType"/>
				<s:hidden name="userGroupView.id"/>
				<s:hidden name="userGroupView.name"/>
				<s:hidden name="userGroupView.createUser"/>
				<s:hidden name="userGroupView.createDate"/>
				<s:hidden name="userGroupView.updateUser"/>
				<s:hidden name="userGroupView.updateDate"/>
			<!-- tableBlock -->
			<div class="tableBlock">
				<!-- tableA01 -->
				<div class="tableA01">
				<table border="1" cellspacing="0" cellpadding="5" width="558">
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fServiceName">ユーザグループID</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.id"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="fDescription">ユーザグループ名</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.name"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="createUser">登録者</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.createUser"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="createDate">登録日付</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.createDate"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="modifyUser">最終更新者</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.updateUser"/></td>
					</tr>
					<tr>
						<!-- ラベル --><th class="lv01B" width="170"><label for="modifyDate">最終更新日付</label></th>
						<!-- エラー --><th width="11" class="error">&nbsp;</th>
						<!-- 内容 --><td><s:property value="userGroupView.updateDate"/></td>
					</tr>
				</table>
				</div>
				<!-- /tableA01 -->
			</div>
			<s:if test='actionType == "MOD"'>
				<div class="headingLv02">
					<table border="0" cellspacing="0" cellpadding="5" width="558">
						<tr>
							<td><p><em>所属ユーザ<br></em></p></td>
						</tr>
					</table>
				</div>
				<!-- tableBlock -->
				<div class="tableBlock">
					<!-- tableA01 -->
					<div class="tableA01">
					<table border="1" cellspacing="0" cellpadding="5">
						<tr>
							<th class="lv01B">ユーザID</th>
							<th class="lv01B">ユーザ名</th>
						</tr>
						<s:iterator value="userList">
								<tr>
									<td><s:property value="userId"/><s:hidden name="joinUserId" value="%{userId}"/></td>
									<td><s:property value="userName"/><s:hidden name="joinUserName" value="%{userName}"/></td>
								</tr>
						</s:iterator>
					</table>
					</div>
					<!-- /tableA01 -->
				</div>
			</s:if>
			<!-- /tableBlock -->
			<!-- pageNaviC01 -->
			<div class="pageNaviC01">
			<table border="0" cellspacing="0" cellpadding="10" width="558">
				<tr>
					<s:if test='actionType=="DEL"'>
						<td width="298" class="left"><p><input type="button" value="戻る" style="width:100px" onclick="location.href='<%= request.getContextPath() %>/output/modoru'"></p></td>
					</s:if>
					<s:else>
						<td width="298" class="left"><p><input type="button" value="戻る" style="width:100px" onclick="back()"></p></td>
					</s:else>
					<td width="130" class="left">&nbsp;</td>
					<s:if test='actionType=="DEL"'>
						<td width="130" class="right"><p><input type="submit" value="削除する" style="width:130px"></p></td>
					</s:if>
					<s:else>
						<td width="130" class="right"><p><input type="submit" value="登録する" style="width:130px"></p></td>
					</s:else>
				</tr>
			</table>
			</div>
			<s:token/>
			<!-- /pageNaviC01 -->
			</form>
		<!-- === /contentsArea === -->
		</td>
		<td width="16"><img src="<%= request.getContextPath() %>/common/images/spacer.gif" width="16" height="4" border="0" alt=""></td>
	</tr>
</table>
</div><!-- === /mainArea === -->
<!-- === footerArea === -->
<div id="footerArea">
<jsp:include page="/common/include/footer.jsp" />
<!--#include virtual="<%= request.getContextPath() %>/common/include/footer.html" -->
</div><!-- === /footerArea === -->
</body>
</html>
<!-- System Architect is COOBA Corp
	Copyright 2010 COOBA Corp All rights reserved -->